package cn.wzx.entity;

import java.util.Date;

public class ItemBook {
    private Integer itemid; //订单明细号
    private Integer ordid; //订单 id
    private Integer bookid; //书号
    private Integer num; //数量
    private Double price; //价格
    private String sn; //序号
    private String name; //书名
    private String author; //作者
    private String publisher; //出版社
    private Date tpublish; //出版日期
    private String picture; //图片 uuid

    public Integer getItemid() {
        return itemid;
    }

    public void setItemid(Integer itemid) {
        this.itemid = itemid;
    }

    public Integer getOrdid() {
        return ordid;
    }

    public void setOrdid(Integer ordid) {
        this.ordid = ordid;
    }

    public Integer getBookid() {
        return bookid;
    }

    public void setBookid(Integer bookid) {
        this.bookid = bookid;
    }

    public Integer getNum() {
        return num;
    }

    public void setNum(Integer num) {
        this.num = num;
    }

    public Double getPrice() {
        return price;
    }

    public void setPrice(Double price) {
        this.price = price;
    }

    public String getSn() {
        return sn;
    }

    public void setSn(String sn) {
        this.sn = sn;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getAuthor() {
        return author;
    }

    public void setAuthor(String author) {
        this.author = author;
    }

    public String getPublisher() {
        return publisher;
    }

    public void setPublisher(String publisher) {
        this.publisher = publisher;
    }

    public Date getTpublish() {
        return tpublish;
    }

    public void setTpublish(Date tpublish) {
        this.tpublish = tpublish;
    }

    public String getPicture() {
        return picture;
    }

    public void setPicture(String picture) {
        this.picture = picture;
    }

    @Override
    public String toString() {
        return "ItemBook{" +
                "itemid=" + itemid +
                ", ordid=" + ordid +
                ", bookid=" + bookid +
                ", num=" + num +
                ", price=" + price +
                ", sn='" + sn + '\'' +
                ", name='" + name + '\'' +
                ", author='" + author + '\'' +
                ", publisher='" + publisher + '\'' +
                ", tpublish=" + tpublish +
                ", picture='" + picture + '\'' +
                '}';
    }
}
